<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <style>
        .imgContainer{
            width:1000px;
            height:200px;
            /*overflow: hidden;*/
            position:relative;
        }
        .scrollController{
            position:absolute;
            right:4px;
            bottom:4px;
        }
    </style>
</head>
<body>
<div class="imgContainer">
    <img src="../images/1.jpg" alt=""/>
    <img src="../images/2.jpg" alt=""/>
    <img src="../images/3.png" alt=""/>
    <div class="scrollController">1231431414</div>
</div>
</body>
<script src="../bower_components/jquery/dist/jquery.min.js"></script>
<script>
    var imgs = $('img');
    var img1=imgs.eq(0);
    console.log(imgs);
    imgs.click(function(){
       alert(imgs.index(this));
    });

</script>
</html>